package org.aristotle.demo.model.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("分类")
public class CategoryVO {

    @ApiModelProperty("分类id")
    @JSONField(name = "id", serializeUsing = ToStringSerializer.class)
    private java.lang.Long id;

    @ApiModelProperty("分类名")
    @JSONField(name = "name")
    private java.lang.String name;

    @ApiModelProperty("分类描述")
    @JSONField(name = "info")
    private java.lang.String info;

}
